package com.zhu.gmallpublisher.service.impl;

import com.zhu.gmallpublisher.bean.ActivityReduceStats;
import com.zhu.gmallpublisher.mapper.ActivityStatsMapper;
import com.zhu.gmallpublisher.service.ActivityReduceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActivityStatsServiceImpl implements ActivityReduceService {

    @Autowired
    private ActivityStatsMapper activityStatsMapper;

    @Override
    public List<ActivityReduceStats> getActivityReduceStats(Integer selectDate) {
        return activityStatsMapper.selectActivityReduceStats(selectDate);
    }
}
